package game;

// 法师Magician子类
public class Magician extends Role {
    private int magicLevel;

    public Magician(String name, int magicLevel) {
        super(name);
        this.magicLevel = magicLevel;
    }

    @Override
    public int attack() {
        return magicLevel * 5;
    }
}